

            <g:set var="entityName" value="${message(code: 'teacher.label', default: 'Teacher')}" />
            <h1>教师搜索列表</h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
        <div class="nav">
            <span class="menuButton"><a class="home" href="${createLink(uri: '/')}">Home</a></span>
             <span class="menuButton"><g:link class="create" action="create" controller="teacher"><g:message code="default.new.label" args="[entityName]" /></g:link></span>

            <span class="search">
              <g:form action="teacherSearchList" controller="teacherMgr" method="post" name="teacherSearch">
                   姓名 <input style="width:10%" type="text" id="name" name="name" maxlength="50" value="${name}"/>
                   性别 <g:select name="sex" from="${['男','女']}" noSelection="['':'所有']" value="${sex}"/>
                   角色 <g:select name="role" from="${roles}" optionKey="authority" optionValue="description"
          noSelection="['':'所有']"  value="${role}"/>
                   职称 <g:select name="staff" from="${teacherstaff}" optionKey="code" optionValue="value"
          noSelection="['':'所有']"  value="${staff}"/>
                   学历 <g:select name="degree" from="${teacherdegree}" optionKey="code" optionValue="value"
          noSelection="['':'所有']"  value="${degree}"/>
                   政治面貌 <g:select name="features" from="${teacherfeatures}" optionKey="code" optionValue="value"
          noSelection="['':'所有']"  value="${features}"/>
                    <g:hiddenField name="isSearch" value="true" />
            <input type="submit" value="${message(code: 'teacher.search.label', default: 'Search')}">
           </g:form>
            </span>
        </div>